<?php
/**
 * Created by PhpStorm.
 * User: zd
 * Date: 2018/8/9
 * Time: 17:36
 */

namespace app\api\controller\v2;


use app\api\validate\IDMustBePositiveInt;
use app\api\model\Banner as BannerModel;
use app\lib\exception\BannerMissException;


class Banner
{
    /**
     *获取banner对象
     * @param $id
     * @return array|false|\PDOStatement|string|\think\Model
     * @throws BannerMissException
     */
    public function getBanner($id){
        return "This is V2 Version";
    }
}